﻿using System.ComponentModel;

namespace SxPackages.STC32G.Models
{
	/// <summary>
	/// 串口1引脚
	/// </summary>
	enum USART1Pins
	{
		/// <summary>
		/// P3.0,P3.1
		/// </summary>
		[Description("P3.0,P3.1")]
		RxD_P30_TxD_P31,
		/// <summary>
		/// P3.6,P3.7
		/// </summary>
		[Description("P3.6,P3.7")]
		RxD_P36_TxD_P37,
		/// <summary>
		/// P1.6,P1.7
		/// </summary>
		[Description("P1.6,P1.7")]
		RxD_P16_TxD_P17,
		/// <summary>
		/// P4.3,P4.4
		/// </summary>
		[Description("P4.3,P4.4")]
		RxD_P43_TxD_P44,
	}

	/// <summary>
	/// 串口2引脚
	/// </summary>
	enum USART2Pins
	{
		/// <summary>
		/// P1.0,P1.1
		/// </summary>
		[Description("P1.0,P1.1")]
		RxD_P10_TxD_P11,
		/// <summary>
		/// P4.6,P4.7
		/// </summary>
		[Description("P4.6,P4.7")]
		RxD_P46_TxD_P47,
	}

	/// <summary>
	/// 串口3引脚
	/// </summary>
	enum UART3Pins
	{
		/// <summary>
		/// P0.0,P0.1
		/// </summary>
		[Description("P0.0,P0.1")]
		RxD_P00_TxD_P01,
		/// <summary>
		/// P5.0,P5.1
		/// </summary>
		[Description("P5.0,P5.1")]
		RxD_P50_TxD_P51,
	}

	/// <summary>
	/// 串口4引脚
	/// </summary>
	enum UART4Pins
	{
		/// <summary>
		/// P0.2,P0.3
		/// </summary>
		[Description("P0.2,P0.3")]
		RxD_P02_TxD_P03,
		/// <summary>
		/// P5.2,P5.3
		/// </summary>
		[Description("P5.2,P5.3")]
		RxD_P52_TxD_P53,
	}
}
